import { createApp } from "vue";
import App from "@/App.vue";
import router from "@/router";
import "@/assets/js/amfe-flexible";
import "@/assets/css/style.css";
import "@/styles/index.scss";
import "@assets/font/iconfont.css";
import directives from "@assets/directives";
import store from "@/store/index";
import i18n from "@/locales/i18n";

// let timer = setTimeout(() => {
//   // 3秒后切换语言
//   i18n.global.locale.value = "ch";
//   clearTimeout(timer);
// }, 3000);

let app = createApp(App);
app.use(router);
app.use(directives);
app.use(store);
app.use(i18n);
app.mount("#app");
